package com.yitao.client.dto.order;

import com.skipper.base.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @Auther: Kien
 * @Date: 2019/3/11 14:05
 * @Description:
 */
public class MallOrderRefundDto extends BaseDto {

    /**
     * 主键
     */
    @ApiModelProperty("主键")
    private Long id;


    /**
     * 退款类型 1:普通退款 2:缺货退款，3:赔偿退款(部分退款)
     */
    @ApiModelProperty("退款类型 1:整单退款 2:缺货退款，3:赔偿退款(部分退款)")
    private Integer refundType;


    /**
     * 退款原因 1:不想要了/拍错了 2:快递原因 3:卖家实际未发货 4:协商一致退款 5:缺货 6:其他
     */
    @ApiModelProperty("退款原因 1:不想要了/拍错了 2:快递原因 3:卖家实际未发货 4:协商一致退款 5:缺货 6:其他")
    private Integer refundReason;


    /**
     * 关联的订单id
     */
    @ApiModelProperty("关联的订单id")
    private Long orderId;


    /**
     * 订单用户id
     */
    @ApiModelProperty("订单用户id")
    private Long buyerId;


    /**
     * 关联的订单code 冗余字段
     */
    @ApiModelProperty("关联的订单code 冗余字段")
    private String orderCode;


    /**
     * 退款状态 -10退款申请中，-20退款申请驳回-30退款中，-40退款成功
     */
    @ApiModelProperty("退款状态 -10退款申请中，-20退款申请驳回-30退款中，-40退款成功")
    private Integer refundStatus;


    /**
     * 退款说明
     */
    @ApiModelProperty("退款说明")
    private String refundDescription;


    /**
     * 解决时间
     */
    @ApiModelProperty("解决时间")
    private Date refundTime;


    /**
     * 是否删除
     */
    @ApiModelProperty("是否删除")
    private Boolean isDelete;


    /**
     * 创建人
     */
    @ApiModelProperty("创建人")
    private Long createBy;


    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private Date createTime;


    /**
     * 修改人
     */
    @ApiModelProperty("修改人")
    private Long lastUpdateBy;


    /**
     * 修改时间
     */
    @ApiModelProperty("修改时间")
    private Date lastUpdateTime;

    @ApiModelProperty("联系电话")
    private String phone; // 2019.05.14

    @ApiModelProperty("退款金额")
    private Long refundFee; // 2019.05.09

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getRefundType() {
        return refundType;
    }

    public void setRefundType(Integer refundType) {
        this.refundType = refundType;
    }

    public Integer getRefundReason() {
        return refundReason;
    }

    public void setRefundReason(Integer refundReason) {
        this.refundReason = refundReason;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getBuyerId() {
        return buyerId;
    }

    public void setBuyerId(Long buyerId) {
        this.buyerId = buyerId;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public Integer getRefundStatus() {
        return refundStatus;
    }

    public void setRefundStatus(Integer refundStatus) {
        this.refundStatus = refundStatus;
    }

    public String getRefundDescription() {
        return refundDescription;
    }

    public void setRefundDescription(String refundDescription) {
        this.refundDescription = refundDescription;
    }

    public Date getRefundTime() {
        return refundTime;
    }

    public void setRefundTime(Date refundTime) {
        this.refundTime = refundTime;
    }

    public Boolean getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Boolean isDelete) {
        this.isDelete = isDelete;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getLastUpdateBy() {
        return lastUpdateBy;
    }

    public void setLastUpdateBy(Long lastUpdateBy) {
        this.lastUpdateBy = lastUpdateBy;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Long getRefundFee() {
        return refundFee;
    }

    public void setRefundFee(Long refundFee) {
        this.refundFee = refundFee;
    }
}
